package com.allen.study.infrastructure.persistence.po;

import com.allen.study.common.base.SnowflakeBasePO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

/**
 * 请假申请表持久化对象
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
@Getter
@Setter
@TableName(value = "LEAVE_APPLY")
public class LeaveApplyPO extends SnowflakeBasePO {

    /**
     * 
     */
    @TableField("employee_id")
    private String employeeId;

    /**
     * 
     */
    @TableField("start_date")
    private LocalDate startDate;

    /**
     * 
     */
    @TableField("end_date")
    private LocalDate endDate;

    /**
     * 
     */
    @TableField("days")
    private Integer days;

    /**
     * 
     */
    @TableField("reason")
    private String reason;

    /**
     * 
     */
    @TableField("handover_person")
    private String handoverPerson;

    /**
     * 
     */
    @TableField("leader_id")
    private String leaderId;

    /**
     * 
     */
    @TableField("pm_id")
    private String pmId;

    /**
     * 
     */
    @TableField("supervisor_id")
    private String supervisorId;

    /**
     * 
     */
    @TableField("process_instance_id")
    private String processInstanceId;

    /**
     * 
     */
    @TableField("status")
    private String status;
}
